<?php namespace App\Models;

use CodeIgniter\Model;

class KeywordMappingModel extends Model
{
    protected $table ='keyword_mapping';
    protected $primaryKey = 'id';
    protected $allowedFields = ['page_id', 'keyword', 'readonly'];

    public function getAllMappings()
    {
        return $this->findAll();
    }
}